import { createApp } from "vue";
// 引入ElementPlus及css
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import VueProgressBar from "@aacassandra/vue3-progressbar";
import App from "./App.vue";
import router from "./router";
import store from "./store";

const options = {
    color: "#bffaf3",
    failedColor: "#874b4b",
    thickness: "5px",
    transition: {
        speed: "0.2s",
        opacity: "0.6s",
        termination: 300,
    },
    autoRevert: true,
    location: "left",
    inverse: false,
};

const app = createApp(App);
app.use(store);
app.use(router);
app.use(VueProgressBar, options);
app.use(ElementPlus);
app.mount("#app");
